﻿@{
    ViewBag.Title = "Common Command";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<ol class="breadcrumb">
    <li><a href="/Home/Home">Home</a></li>
    <li class="active">Windows PowerShell</li>
    
</ol>
            
            <div id="introduction">
                <h1 class="text-left">Basic Commands</h1>
            </div>
            <div id="Mail" >
                <div id="CmdTbl">
                    <p><strong> Various PowerShell Commands</strong></p>
                    <table class="table table-condensed table-striped">
                        <tr>
                            <td><strong>Command</strong></td>
                            <td><strong>Description</strong></td>
                        </tr>
                        <tr>
                            <td class="active">Get-Help</td>
                            <td>can use this command to get help with any other command</td>
                        </tr>
                        <tr>
                            <td class="active">Get-Service</td>
                            <td>The Get-Service command provides a list of all of the services that are installed on the system.</td>
                        </tr>
                        <tr>
                            <td class="active">ConvertTo-HTML</td>
                            <td>the output from another command into the ConvertTo-HTML command. You will have to use the -Property switch to control which output properties are included in the HTML file and you will have to provide a filename.
                            </td>
                        </tr>
                        <tr>
                            <td class="active">Export-CSV</td>
                            <td>export data from PowerShell into a CSV file that you can open using Microsoft Excel.
                            <code>Get-Service | Export-CSV c:\service.csv</code></td>
                        </tr>
                        <tr>
                            <td class="active">Select-Object</td>
                            <td>The Select-Object command allows you to specify specific properties for inclusion. </td>
                        </tr>
                        <tr>
                            <td class="active">Get-EventLog</td>
                            <td>Write Log for an specific event.</td>
                        </tr>
                        <tr>
                            <td class="active">Get-Process</td>
                            <td>display a list of all of the system services, you can use the Get-Process command to display a list of all of the processes that are currently running on the system.</td>
                        </tr>
                        
                    </table> 
                </div>
            </div>
      